Alerts
This is an alert.
<div class="alert" role="alert">
<span class="alert_body">This is an alert.</span>
</div>
This is an alert.
<div class="alert" role="alert">
<span class="alert_icon">
<svg><use xlink:href="#exclamation" /></svg>
</span>
<span class="alert_body">This is an alert.</span>
</div>
This is an alert
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla euismod in leo ac elementum. Integer imperdiet convallis tellus, a ultricies orci venenatis vitae.
Integer placerat lacinia tristique. Sed blandit turpis a sapien dapibus posuere.
<div class="alert" role="alert">
<span class="alert_icon">
<svg><use xlink:href="#exclamation" /></svg>
</span>
<span class="alert_body">
<h4 class="alert_heading">This is an alert</h4>
<span class="alert_section" data-type="long">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla euismod in leo ac elementum. Integer imperdiet convallis tellus, a ultricies orci venenatis vitae.
</p>
</span>
<span class="alert_section" data-type="long">
<p>
Integer placerat lacinia tristique. Sed blandit turpis a sapien dapibus posuere.
</p>
</span>
</span>
</div>
Template
@mixin alertVariables
/* 1. bg-color ............. */ var(--alert-background-color),
/* 2. txt-color ............ */ var(--alert-text-color),
/* 3. border top color ..... */ var(--alert-border-top-color),
/* 4. border-bottom-color .. */ var(--alert-border-bottom-color),
/* 5. border-left-color .... */ var(--alert-border-left-color),
/* 6. border-right-color ... */ var(--alert-border-right-color),
/* 7. border-top-width ..... */ var(--alert-border-top-width),
/* 8. border-bottom-width .. */ var(--alert-border-bottom-width),
/* 9. border-left-width .... */ var(--alert-border-left-width),
/* 10. txt-color ............ */ var(--alert-border-right-width),
/* 11. border-right-width ... */ var(--alert-border-radius),
/* 12. font-size ............ */ var(--alert-font-size),
/* 13. font-weight .......... */ var(--alert-font-weight),
/* 14. font-family .......... */ var(--alert-font-family),
/* 15. heading-font-size .... */ var(--alert-heading-font-size),
/* 16. heading-font-weight .. */ var(--alert-heading-font-weight),
/* 17. divider-color ........ */ var(--alert-divider-color),
/* 18. divider-width ........ */ var(--alert-divider-width),
/* 19. long-message-font-size */ var(--alert-long-message-font-size),
/* 20. long-message-weight .. */ var(--alert-long-message-weight),
/* 21. icon-width ........... */ var(--alert-icon-width),
/* 22. icon-bg-color ........ */ var(--alert-icon-background-color),
/* 23. icon-color ........... */ var(--alert-icon-color),
/* 24. icon-v-padding ....... */ var(--alert-icon-v-padding),
/* 25. icon-h-padding ....... */ var(--alert-icon-h-padding),
/* 26. box shadow ........... */ var(--alert-shadow);
@mixin alertSelectors
/* 1. alert ................ */ .alert,
/* 2. alert icon ........... */ .alert_icon,
/* 3. alert heading ........ */ .alert_heading,
/* 4. alert body ........... */ .alert_body,
/* 5. alert body section ... */ .alert_section;